﻿/// <file name="ModerationQueueStatus.js">
///   Encapsulates information about a post's status in the moderation queue.
/// </file>

NAMFox.ns(function() { with (NAMFox) {

this.ModerationQueueStatus = function(reported, view, moderator) {
    /// <summary>Initializes a new instance of the ModerationQueueStatus class.</summary>
    /// <param name="reported" type="ReportedStatus">The status of the post in terms of being reported.</param>
    /// <param name="view" type="ViewStatus">The status of the post in terms of being in or out of view.</param>
    /// <param name="moderator" type="ModeratorStatus">The status of the post in terms of being viewed by a moderator or non-moderator.</param>
    /// <field name="reported" type="ReportedStatus">The status of the post in terms of being reported.</param>
    /// <field name="view" type="ViewStatus">The status of the post in terms of being in or out of view.</param>
    /// <field name="moderator" type="ModeratorStatus">The status of the post in terms of being viewed by a moderator or non-moderator.</param>

    this.reported = reported;
    this.view = view;
    this.moderator = moderator;
}

this.ReportedStatus = {
    NotReported: 0,
    Reported: 1
};

this.ViewStatus = {
    InView: 0,
    OutOfView: 1
};

this.ModeratorStatus = {
    Member: 0,
    Moderator: 1
};

}});